file( GLOB list "*" )
foreach( entry ${list} )
  if( IS_DIRECTORY ${entry} )
    if( EXISTS ${entry}/CMakeLists.txt )
      add_subdirectory( ${entry} )
      link_directories( ${entry}/lib )
      message( STATUS "Configuring  ${entry} xiao" )
    endif()
  endif()
endforeach()